namespace EyeSoft.Domain.Transactional
{
	public interface ITransactionalCollection
		: IReadOnlyTransactionalCollection
	{
		void Add<T>(T entity) where T : class, IAggregate;

		void Delete<T>(T entity) where T : class, IAggregate;

		void Update<T>(T entity) where T : class, IAggregate;

		void Commit();
	}
}